package com.test.p02simplefactory.example01;

/**
 *  草莓
 * @author bcc
 */
public class Strawberry implements Fruit {

    @Override
    public void plant() {
        log("Strawberry has bean planted");
    }

    @Override
    public void grow() {
        log("Strawberry is growing");
    }

    @Override
    public void harvest() {
        log("Strawberry has been harvested");
    }

    public static void log(String msg){
        System.out.println(msg);
    }
}
